function process_jump
  close all
  g = 9.81; m = 579.5/g;
  data = csvread('Forceplate_Data.csv',1,0);
  time = data(:,1); force = data(:,2);
  plot(time,force);
  mask = time>14.75 & time<15.3;
  t_c = time(mask); f_c = force(mask)-10;
  %plot(t_c,f_c)
  mask2 = time>15 & time<15.5;
  t_a = time(mask2); f_a = force(mask2)-10;
  %plot(t_a,f_a)
  
  impulse = trapz(t_c,f_c);
  mask3 = f_c>5;
  t_onground = t_c(mask3);
  t1 = t_onground(1); t2 = t_onground(end);
  mask4 = f_a<5;
  t_inair = t_a(mask4);
  t4 = t_inair(end);
  v0_f = impulse/(2*m) - g*(t2-t1)/2;
  v0_a = g*(t4-t2)/2;
  h_f = v0_f^2/(2*g)
  h_a = v0_a^2/(2*g)

end